FROM docker.io/relateiq/oracle-java8
VOLUME /tmp
ADD tractor-exec.jar /tractor-exec.jar
RUN bash -c "touch /tractor-exec.jar"
ENV PARAM ""
EXPOSE 8080
ENTRYPOINT java -jar tractor-exec.jar  -Xmx2048m -Xms2048m -Xmn1024m  -Duser.timezone=GMT+08 --spring.profiles.active=prod  ${PARAM}